package com.maila.xiaoaoschool.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;

import com.maila.xiaoaoschool.R;
import com.zhy.autolayout.AutoRelativeLayout;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by mark on 2018/1/31.
 */

public class JoinActivity extends AppCompatActivity {

    @BindView(R.id.white_return_iv)
    AutoRelativeLayout whiteReturnIv;
    @BindView(R.id.et_name)
    EditText etName;
    @BindView(R.id.et_phone)
    EditText etPhone;
    @BindView(R.id.bt_getcode)
    Button btGetcode;
    @BindView(R.id.et_invistcode)
    EditText etInvistcode;
    @BindView(R.id.et_school)
    EditText etSchool;
    @BindView(R.id.rb_shop)
    RadioButton rbShop;
    @BindView(R.id.rb_express)
    RadioButton rbExpress;
    @BindView(R.id.btn_confirm)
    TextView btnConfirm;
    @BindView(R.id.rg_ident)
    RadioGroup rgIdent;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_join);
        ButterKnife.bind(this);
        rgIdent.getCheckedRadioButtonId();
    }

    @OnClick({R.id.white_return_iv, R.id.bt_getcode, R.id.rb_shop, R.id.rb_express, R.id.btn_confirm})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.white_return_iv:
                finish();
                break;
            case R.id.bt_getcode:
                break;
            case R.id.rb_shop:
                break;
            case R.id.rb_express:
                break;
            case R.id.btn_confirm:
                break;
        }
    }
}
